<template>
  <Row>
    <Col>
    <div style="background:#eee;padding: 20px">
      <Card :bordered="false">
        <p slot="title">订单列表</p>
        <Table border :columns="columns1" :data="data1"></Table>
      </Card>
    </div>
    </Col>
  </Row>
</template>
<script>
  export default {
    data () {
      return {
        columns1: [
          {
            title: '用户账号',
            key: 'uaccount'
          },
          {
            title: '订单号',
            key: 'ordercode'
          },
          {
            title: '店铺id',
            key: 'storeId'
          },
          {
            title: '送货地址id',
            key: 'uadressid'
          },
          {
            title: '菜品id',
            key: 'orderfoodid'
          },
          {
            title: '菜品价格',
            key: 'orderfoodpricenum'
          },
          {
            title: '备注',
            key: 'uNote'
          },
          {
            title: '订单创建时间',
            key: 'ordercreate'
          },
          {
            title: '评价',
            key: 'comment'
          }
        ],
        data1: [
          {
            uaccount: 'John',
            ordercode: '18jdasud',
            storeId: 1354541,
            uadressid: '18jdasud',
            orderfoodid: 1354541,
            orderfoodpricenum: '3x1',
            uNote: 1354541,
            ordercreate: 'just@jus.com',
            comment: 55
          },
          {
            uaccount: 'John',
            ordercode: '18jdasud',
            storeId: 1354541,
            uadressid: '18jdasud',
            orderfoodid: 1354541,
            orderfoodpricenum: '3x1',
            uNote: 1354541,
            ordercreate: 'just@jus.com',
            comment: 55
          },
          {
            uaccount: 'John',
            ordercode: '18jdasud',
            storeId: 1354541,
            uadressid: '18jdasud',
            orderfoodid: 1354541,
            orderfoodpricenum: '3x1',
            uNote: 1354541,
            ordercreate: 'just@jus.com',
            comment: 55
          }
        ]
      }
    }
  }
</script>
